import request from '@/utils/request'

// 微信登录 write by 3/11
export function wechatLogin(query) {
  return request({
    url: '/wechat/login',
    method: 'get',
    params: query
  })
}

// 获取验证码
export function getCodeImg() {
  return request({
    url: '/captchaImage',
    method: 'get'
  })
}
